package com.huweilong.model;

import java.util.Objects;

/**
 * @author 是阿秋啊
 * @date 2022/04/09 16:17
 **/
public class Reader {
    public int UserRid;
    public String name;
    public String password;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Reader reader = (Reader) o;
        return UserRid == reader.UserRid && Objects.equals(name, reader.name) && Objects.equals(password, reader.password);
    }

    @Override
    public int hashCode() {
        return Objects.hash(UserRid, name, password);
    }
}
